<tr>
	<td style="padding:20px; border-top:1px #CCCCCC solid; border-bottom:1px #CCCCCC solid; border-left:1px #CCCCCC solid; border-right:1px #CCCCCC solid">
		<!-- Mã đơn hàng và ngày đặt hàng -->
		<table border="0" cellpadding="2" cellspacing="0" width="98%" align="center">
			<tbody>
				<tr>
					<td width="50%">
						<strong>Mã đơn hàng: 
							<font color="#FF0000">{$listorder1.ordercode}</font>
						</strong>
					</td>
					<td>
						<strong>Ngày đặt hàng:</strong>
						<font color="#FF0000">
						<strong>{$listorder1.orderdatecreate|date_format:"%d-%m-%Y | %H:%M:%S"}</strong>
						</font>
					</td>
				</tr>
			</tbody>
		</table>
		<!-- Thông tin đặt hàng và thông tin giao hàng-->
		<table border="0" cellpadding="0" cellspacing="0" width="98%" align="center">
			<tbody>
				<tr>
					<td valign="top" width="50%">
						<table border="0" cellpadding="2" cellspacing="0" width="100%" align="center">
							<tbody>
								<tr>
									<td height="30"><strong>Thông tin đặt hàng:</strong></td>
								</tr>
								<tr>
									<td>
										<table border="0" cellpadding="2" cellspacing="0" width="100%" align="center">
											<tbody>
												<tr>
													<td valign="top" width="25%">Tên đầy đủ:&nbsp;</td>
													<td valign="top">{$user_information[0].fullname}</td>
												</tr>
												<tr>
													<td valign="top">Điện thoại:&nbsp;</td>
													<td valign="top">{$user_information[0].phone}</td>
												</tr>
												<tr>
													<td valign="top">Địa chỉ email:&nbsp;&nbsp;</td>
													<td valign="top">{$user_information[0].email}</td>
												</tr>
												<tr>
													<td valign="top">Địa chỉ:&nbsp;&nbsp;</td>
													<td valign="top">{$user_information[0].address}</td>
												</tr>
											</tbody>
										</table>
									</td>
								</tr>
							</tbody>
						</table>
					</td>
					<td valign="top">
						<table border="0" cellpadding="2" cellspacing="0" width="100%" align="center">
							<tbody>
								<tr>
									<td height="30">
										<strong>Thông tin giao hàng:</strong>
									</td>
								</tr>
								<tr>
									<td>
										<table border="0" cellpadding="2" cellspacing="0" width="100%" align="center">
											<tbody>
												<tr>
													<td valign="top" width="25%">Tên đầy đủ:&nbsp;</td>
													<td valign="top">{$listorder1.name}</td>
												</tr>
												<tr>
													<td valign="top">Điện thoại:&nbsp;</td>
													<td valign="top">{$listorder1.phone}</td>
												</tr>
												<tr>
													<td valign="top">Địa chỉ email:&nbsp;&nbsp;</td>
													<td valign="top">{$listorder1.email}</td>
												</tr>
												<tr>
													<td valign="top">Địa chỉ:&nbsp;&nbsp;</td>
													<td valign="top">{$listorder1.address}</td>
												</tr>
											</tbody>
										</table>
									</td>
								</tr>
							</tbody>
						</table>
					</td>
				</tr>
			</tbody>
		</table>
		<!-- Phương thức thanh toán -->
		<table border="0" cellpadding="2" cellspacing="0" width="98%" align="center">
			<tbody>
				<tr>
					<td height="30">
						<strong>Phương thức thanh toán: </strong>
						<font color="#FF0000">
						{if $listorder1.paymethod==1}
							<strong>Thanh toán tiền mặt khi giao hàng tận nơi</strong>
						{else}
							<strong>Thanh toán chuyển khoản qua ngân hàng hay qua ATM</strong>
						{/if}
						</font>
					</td>
				</tr>
				<tr>
					<td>
						<strong> Yêu cầu khác: </strong>
						{$listorder1.note}
					</td>
				</tr>
			</tbody>
		</table>
		<br>
		<table style="border-collapse:collapse" border="0" bordercolor="#CCCCCC" cellpadding="2" cellspacing="0" width="98%" align="center">
			<tbody>
				<tr>
					<td class="bgmenupro border3" bgcolor="#DDDDDD" height="30" width="5%">
						<div align="center">
							<strong>STT</strong>
						</div>
					</td>
					<td class="bgmenupro border3" bgcolor="#DDDDDD" width="10%">
						<div align="center">
							<strong>Hình ảnh</strong>
						</div>
					</td>
					<td class="bgmenupro border3" bgcolor="#DDDDDD">
						<div align="center">
							<strong>Tên sản phẩm</strong>
						</div>
					</td>
					<td class="bgmenupro border3" bgcolor="#DDDDDD" width="18%">
						<div align="center">
							<strong>Giá tiền</strong>
						</div>
					</td>
					<td class="bgmenupro border3" bgcolor="#DDDDDD" width="10%">
						<div align="center">
							<strong>Số lượng</strong>
						</div>
					</td>
					<td class="bgmenupro borderfull" bgcolor="#DDDDDD" width="18%">
						<div align="center">
							<strong>Thành tiền</strong>
						</div>
					</td>
				</tr>
				<!-- Danh sách các mặt hàng đã mua -->
				{foreach from=$detailproduct item=order_product_item}
					<tr>

						<td class="fontsizecart border3">
							<div align="center">{$order_product_item@index+1}</div>
						</td>
						<td class="border3">
							<div align="center">
								<a target="_blank" href="/productdetail/{$order_product_item.idproduct}">
									<img src="/templates/images/product/{$order_product_item.image}" alt="{$order_product_item.productname}" width="60" border="0">

								</a>
							</div>
						</td>
						<td class="fontsizecart border3">
							<div align="center">
								<a target="_blank" href="/productdetail/{$order_product_item.idproduct}" class="linkcart">{$order_product_item.productname}</a>
							</div>
						</td>
						<td class="cartprice fontsizecart border3">{$order_product_item.priece|number_format} VNĐ</td>
						<td class="border3">
							<div align="center">{$order_product_item.number}</div>
						</td>
						<td class="cartprice fontsizecart borderfull">{($order_product_item.priece*$order_product_item.number)|number_format} VNĐ</td>
					</tr>
				{/foreach}
				<!-- End - Danh sách các mặt hàng đã mua -->
				<tr>
					<td colspan="5" class="cartprice fontred fontsizecart border3">
						<strong>Tổng giá trị</strong>
                    </td>
                    <td class="cartprice fontred fontsizecart borderfull">{$listorder1.totalprice|number_format} VNĐ</td>
                </tr>

                <tr>
                    <td colspan="5" class="cartprice fontsizecart border3">Chi phí vận chuyển</td>
                    <td class="cartprice fontsizecart borderfull">Miễn phí</td>
                </tr>

                <tr>
                    <td colspan="5" class="cartprice fontred fontsizecart border3">

						<strong>Tổng giá trị thanh toán</strong>
					</td>
					<td class="cartprice fontred fontsizecart borderfull">
						<strong>{$listorder1.totalprice|number_format} VNĐ</strong>
					</td>
				</tr>

			</tbody>
		</table>
	</td>
</tr>